package com.es.disped.dao.model;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="菜单类型")
public enum MenuType implements Serializable {

	GROUP("菜单组","group"),MENU("菜单","menu");
	
	@ApiModelProperty(value="类型名称")
	private String name;
	@ApiModelProperty(value="类型值")
	private String value;
	
	private MenuType(String name,String value)
	{
		this.setName(name);
		this.setValue(value);
	}
	
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Override
	public String toString() {
		return super.toString();
	}
}
